package com.labichaoka.chaoka.base;


import com.labichaoka.chaoka.BuildConfig;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by ruan on 2018/8/1.
 */

public class GlobalParams {
//    public static  String baseUrl="http://39.107.202.87:8101/";
    //public static  String baseUrl="https://cscard.labifenqi.com/cscapi/";
    public static  String baseUrl= BuildConfig.SERVER_HOST;
    //研发
    //public static String baseUrl= "http://10.15.198.17:8101";
    public static final String LOGIN_SUCCESS_ACTION = "login_success_action";
    public static final String LOGOUT_ACTION = "logout_action";

    public static final String CLICK_REALNAME_AUTH = "APP_CLICK_REALNAME_AUTH";
    public static final String CLICK_BIND_BANKCARD = "APP_CLICK_BIND_BANKCARD";
    public static final String SUB_BANKCARD_INFO = "APP_SUB_BANKCARD_INFO";
    public static final String CLICK_OPERATOR = "APP_CLICK_OPERATOR";
    public static final String CLICK_USERINFO = "APP_CLICK_USERINFO";
    public static final String CLICK_FACE_RECOGNITION = "APP_CLICK_FACE_RECOGNITION";
    public static final String SUB_USERINFO = "APP_SUB_USERINFO";
    public static final String APP_CREDITRAT_CLICK = "APP_CREDITRAT_CLICK";

    public static final int BIND_BANK_CARD = 1;
    public static final int CHANGE_BANK_CARD = 2;


    public static class Education{
        private String id;
        private String value;

        public String getId() {
            return id;
        }

        public void setId(String key) {
            this.id = key;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
    public static List<Education> getEducation(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("1");
        edu.setValue("初中及以下");
        list.add(edu);

        edu=new Education();
        edu.setId("2");
        edu.setValue("中专");
        list.add(edu);

        edu=new Education();
        edu.setId("3");
        edu.setValue("高中");
        list.add(edu);

        edu=new Education();
        edu.setId("20");
        edu.setValue("大专");
        list.add(edu);

        edu=new Education();
        edu.setId("5");
        edu.setValue("本科");
        list.add(edu);

        edu=new Education();
        edu.setId("9");
        edu.setValue("硕士研究生");
        list.add(edu);

        edu=new Education();
        edu.setId("10");
        edu.setValue("博士研究生");
        list.add(edu);

        edu=new Education();
        edu.setId("11");
        edu.setValue("夜大电大函大普通班");
        list.add(edu);

        return list;
    }
    public static List<Education> getIncome(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("1");
        edu.setValue("工资奖金");
        list.add(edu);

        edu=new Education();
        edu.setId("2");
        edu.setValue("经营收入");
        list.add(edu);

        edu=new Education();
        edu.setId("3");
        edu.setValue("投资理财");
        list.add(edu);

        edu=new Education();
        edu.setId("4");
        edu.setValue("房租收入");
        list.add(edu);

        edu=new Education();
        edu.setId("100");
        edu.setValue("其他");
        list.add(edu);

        return list;
    }

    public static List<Education> getIncomeByMonth(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("35000000");
        edu.setValue("3500以下");
        list.add(edu);

        edu=new Education();
        edu.setId("35006000");
        edu.setValue("3500-6000");
        list.add(edu);

        edu=new Education();
        edu.setId("600010000");
        edu.setValue("6000-10000");
        list.add(edu);

        edu=new Education();
        edu.setId("1000020000");
        edu.setValue("10000-20000");
        list.add(edu);

        edu=new Education();
        edu.setId("200000001");
        edu.setValue("20000以上");
        list.add(edu);

        return list;
    }


    public static List<Education> getRelation(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("1");
        edu.setValue("父母");
        list.add(edu);

        edu=new Education();
        edu.setId("2");
        edu.setValue("配偶");
        list.add(edu);

        edu=new Education();
        edu.setId("3");
        edu.setValue("兄弟姐妹");
        list.add(edu);

        edu=new Education();
        edu.setId("4");
        edu.setValue("同学");
        list.add(edu);

        edu=new Education();
        edu.setId("5");
        edu.setValue("朋友");
        list.add(edu);

        edu=new Education();
        edu.setId("6");
        edu.setValue("同事");
        list.add(edu);
        return list;
    }

    public static List<Education> getBankType(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("BCM");
        edu.setValue("交通银行");
        list.add(edu);

        edu=new Education();
        edu.setId("BOC");
        edu.setValue("中国银行");
        list.add(edu);

        edu=new Education();
        edu.setId("CCB");
        edu.setValue("建设银行");
        list.add(edu);

        edu=new Education();
        edu.setId("CEB");
        edu.setValue("光大银行");
        list.add(edu);

        edu=new Education();
        edu.setId("CIB");
        edu.setValue("兴业银行");
        list.add(edu);

        edu=new Education();
        edu.setId("CNCB");
        edu.setValue("中信银行");
        list.add(edu);

        edu=new Education();
        edu.setId("GDB");
        edu.setValue("广发银行");
        list.add(edu);

        edu=new Education();
        edu.setId("ICBC");
        edu.setValue("工商银行");
        list.add(edu);

        edu=new Education();
        edu.setId("CMB");
        edu.setValue("招商银行");
        list.add(edu);

        return list;
    }

    public static List<Education> getUseForWhat(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("F1112");
        edu.setValue("个人日常消费");
        list.add(edu);

        edu=new Education();
        edu.setId("F1101");
        edu.setValue("装修");
        list.add(edu);

        edu=new Education();
        edu.setId("F1102");
        edu.setValue("旅游");
        list.add(edu);

        edu=new Education();
        edu.setId("F1118");
        edu.setValue("教育");
        list.add(edu);

        edu=new Education();
        edu.setId("F1119");
        edu.setValue("医美");
        list.add(edu);

        return list;
    }

    public static List<Education> getLoan(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("1");
        edu.setValue("有");
        list.add(edu);

        edu=new Education();
        edu.setId("0");
        edu.setValue("无");
        list.add(edu);

        return list;
    }

    public static List<Education> getIndustry(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("B1017");
        edu.setValue("政府机关/事业单位，国企等");
        list.add(edu);

        edu=new Education();
        edu.setId("B102403");
        edu.setValue("软件和信息技术服务业");
        list.add(edu);

        edu=new Education();
        edu.setId("B102402");
        edu.setValue("互联网和相关服务");
        list.add(edu);

        edu=new Education();
        edu.setId("B1022");
        edu.setValue("科教文卫");
        list.add(edu);

        edu=new Education();
        edu.setId("B102806");
        edu.setValue("其他商务服务业");
        list.add(edu);

        edu=new Education();
        edu.setId("B102502");
        edu.setValue("货币金融服");
        list.add(edu);

        edu=new Education();
        edu.setId("B1016");
        edu.setValue("其他");
        list.add(edu);

        edu=new Education();
        edu.setId("B1038");
        edu.setValue("农、林、牧、渔业");
        list.add(edu);

        return list;
    }

    public static List<Education> getJob(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("F12301");
        edu.setValue("一般职业");
        list.add(edu);

        edu=new Education();
        edu.setId("F12327");
        edu.setValue("专业技术人员");
        list.add(edu);

        edu=new Education();
        edu.setId("F123090702");
        edu.setValue("农户/工人");
        list.add(edu);

        edu=new Education();
        edu.setId("F123130101");
        edu.setValue("教师");
        list.add(edu);

        edu=new Education();
        edu.setId("F1231801");
        edu.setValue("自由业");
        list.add(edu);

        edu=new Education();
        edu.setId("F12321");
        edu.setValue("军人");
        list.add(edu);

        edu=new Education();
        edu.setId("F123240101");
        edu.setValue("个体户");
        list.add(edu);

        edu=new Education();
        edu.setId("F1231207");
        edu.setValue("其他");
        list.add(edu);

        return list;
    }

    public static List<Education> getMerry(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("B0501");
        edu.setValue("未婚");
        list.add(edu);

        edu=new Education();
        edu.setId("B0502");
        edu.setValue("已婚");
        list.add(edu);

        edu=new Education();
        edu.setId("B0503");
        edu.setValue("丧偶");
        list.add(edu);

        edu=new Education();
        edu.setId("B0504");
        edu.setValue("离异");
        list.add(edu);

        return list;
    }


    public static List<Education> getLoanType(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("F1201");
        edu.setValue("房屋按揭贷款");
        list.add(edu);

        edu=new Education();
        edu.setId("F1202");
        edu.setValue("个人信用贷款");
        list.add(edu);

        edu=new Education();
        edu.setId("F1203");
        edu.setValue("经营贷款");
        list.add(edu);

        edu=new Education();
        edu.setId("F1204");
        edu.setValue("汽车贷款");
        list.add(edu);

        edu=new Education();
        edu.setId("F1205");
        edu.setValue("教育贷款");
        list.add(edu);

        edu=new Education();
        edu.setId("F1206");
        edu.setValue("其他贷款");
        list.add(edu);

        return list;
    }

    public static List<Education> getCreditReport(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("F18801");
        edu.setValue("无报告");
        list.add(edu);

        edu=new Education();
        edu.setId("F18802");
        edu.setValue("有报告，无逾期");
        list.add(edu);

        edu=new Education();
        edu.setId("F18803");
        edu.setValue("有报告，有逾期");
        list.add(edu);

        return list;
    }

    public static List<Education> getOverdueAccount(){
        List<Education> list=new ArrayList<>();
        Education edu=new Education();
        edu.setId("1");
        edu.setValue("1");
        list.add(edu);

        edu=new Education();
        edu.setId("2");
        edu.setValue("2");
        list.add(edu);

        edu=new Education();
        edu.setId("3");
        edu.setValue("3");
        list.add(edu);

        edu=new Education();
        edu.setId("4个及以上");
        edu.setValue("4个及以上");
        list.add(edu);

        return list;
    }

}
